package com.hdx.server.service;



import com.hdx.common.result.PageResult;
import com.hdx.model.dto.EmployeeDTO;
import com.hdx.model.dto.EmployeeLoginDTO;
import com.hdx.model.dto.EmployeePageQueryDTO;
import com.hdx.model.entity.Employee;
import com.hdx.model.vo.EmployeeLoginVO;

import javax.security.auth.login.AccountLockedException;

public interface EmployeeService {

    EmployeeLoginVO login(EmployeeLoginDTO employeeLoginDTO) throws AccountLockedException;

    PageResult pageQuery(EmployeePageQueryDTO employeePageQueryDTO);

    void save(EmployeeDTO employeeDTO);

    void startOrStop(Integer status, Long id);

    Employee getById(Long id);

    void update(EmployeeDTO employeeDTO);
}
